-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slightly reduce the Depth3Test that often times out on Linux #90777
Conversation
Do we know if this is a natural problem with not-too-fast machines, or whether we have an unnatural slowdown we ought to investigate and fix? |
Well, in #87532 I proposed a minor optimization in the algorithm but the PR was abandoned as Michal pointed out that this is more or less a pathological case we don't need to optimize for. In a similar vein, on my quite fast devbox the test in checked mode takes about 1 minute, I can easily imagine it can be 10 times slower on a shared Azure VM. |
I see. Well, in that case it LGTM! I've restarted the failing pipeline because it seems entirely unrelated to this change. So unless @MichalStrehovsky has further feedback, I think we can merge this, assuming that failure is indeed unrelated like I suspect it to be. |
This is one of the regression tests I introduced as part of implementing protection against infinite generic recursion in Crossgen2. Turns out that on the relatively slow Helix Linux VMs the test often times out due to compilation time exceeding 10 minutes. I propose slightly trimming down the test so that it uses less time in Helix. Thanks Tomas
a0a71a7
to
571e048
Compare
Thanks Andy and Ivan for reviewing. I have rebased the change against latest main and I have added the removal of the clause for |
Wasm failure with Mono is a known infrastructure issue unrelated to this change, so I'll be merging this right now. |
This is one of the regression tests I introduced as part of implementing protection against infinite generic recursion in Crossgen2. Turns out that on the relatively slow Helix Linux VMs the test often times out due to compilation time exceeding 10 minutes. I propose slightly trimming down the test so that it uses less time in Helix.
Thanks
Tomas
/cc @dotnet/crossgen-contrib, @dotnet/runtime-infrastructure